<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #l1{
            width: 100px;
            height: 30px;
            background-color: green;
            color: red;
            text-align: center;
            line-height: 30px;
        }
        span{
            font-size: 25px;
            font-style: italic;/*设置斜体*/
        }
        #b1{
            font-weight: normal;/*去掉加粗*/
            /*阴影:颜色 x偏移值 y偏移值 浓度*/
            text-shadow:blue -20px 20px 3px;
        }
        #x1{
            text-decoration: underline;/*设置下划线*/
        }
        a{
            text-decoration: none;/*去掉下划线*/
            font-weight: bold;/*字体加粗*/
            font-size: 20px;
        }
    </style>
</head>
<body>
<div id="l1">刘德华</div>
<div>张学友</div>
<span>香蕉</span>
<span>苹果</span>
<h1 id="b1">冰箱</h1>
<h1 id="x1">洗衣机</h1>
<a href="http://www.taobao.com">淘宝</a>
</body>
</html>